package com.pdg.mcplugin.tsa.old;

import java.util.logging.Logger;

import net.milkbowl.vault.economy.Economy;

import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.server.PluginDisableEvent;
import org.bukkit.event.server.PluginEnableEvent;
import com.pdg.mcplugin.common.VaultAdapter;

public class TSAServerListener implements Listener{

	//plugin
	private TSA plugin;
	public TSA getPlugin(){
		return plugin;
	}

	//logger
	public Logger getLogger(){
		return getPlugin().getLogger();
	}
	
	public Economy getEconomy(){
		return VaultAdapter.getEconomy();
	}
	
	//constructor
	public TSAServerListener(TSA thePlugin){
		plugin = thePlugin;
	}
	
	//disable plugin
	@EventHandler
	public void onPluginDisable(PluginDisableEvent event){
	}
	
	//enable plugin
	@EventHandler
	public void onPluginEnable(PluginEnableEvent event){
	}
}
